package com.demo8;

public class JumpDemo {
    public static void main(String[] args) {
        //实现方法的掉哟昂
        JumpOperator jumpOperator = new JumpOperator();
        Jumping j = new Jumping() {
            @Override
            public void jump() {
                System.out.println("我会跳");
            }
        };
        jumpOperator.useJump(j);
    }
}
